package cn.m3a1.dao;

import cn.m3a1.bean.AbsentNote;
import cn.m3a1.bean.AbsentNoteExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AbsentNoteMapper {
    long countByExample(AbsentNoteExample example);

    int deleteByExample(AbsentNoteExample example);

    int insert(AbsentNote record);

    int insertSelective(AbsentNote record);

    List<AbsentNote> selectByExample(AbsentNoteExample example);
    List<AbsentNote> selectByExampleWithUser(Integer id);

    List<AbsentNote> selectByTeacherWithUser(Integer id);
    int updateByExampleSelective(@Param("record") AbsentNote record, @Param("example") AbsentNoteExample example);

    int updateByExample(@Param("record") AbsentNote record, @Param("example") AbsentNoteExample example);
}